// main.ts
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { NavBar, Cell, CellGroup, Divider, Field, Picker, Popup, DatePicker, Button } from 'vant'

const app = createApp(App)
app.use(NavBar)
   .use(Cell)
   .use(CellGroup)
   .use(Divider)
   .use(Field)
   .use(Picker)
   .use(Popup)
   .use(DatePicker)
   .use(Button)
   .use(router)

app.mount('#app')